
//-----------------------------------------------------------------------------------------------------------------------------------------------------
function checkLoginParameters(){

	username = document.forms['loginForm'].LoginUsername.value;
	password = document.forms['loginForm'].LoginPassword.value;
	
	if(username == "" || password == ""){
		alert("Please Type Username And/Or Password!");
		return false;
	}else{
		return true;
	}
}

//-----------------------------------------------------------------------------------------------------------------------------------------------------
function checkRegisterParametersFromWelcomePage(){

	username = document.forms['registerFromWelcomePageForm'].SignUpPersonalProfileUsername.value;
	password = document.forms['registerFromWelcomePageForm'].SignUpPersonalProfilePassword.value;
	name = document.forms['registerFromWelcomePageForm'].SignUpPersonalProfileName.value;
	surname = document.forms['registerFromWelcomePageForm'].SignUpPersonalProfileSurname.value;
	dateOfBirth = document.forms['registerFromWelcomePageForm'].SignUpPersonalProfileDateOfBirth.value;
	sex = document.forms['registerFromWelcomePageForm'].SignUpPersonalProfileSex.value;
	city = document.forms['registerFromWelcomePageForm'].SignUpPersonalProfileCity.value;
	education = document.forms['registerFromWelcomePageForm'].SignUpPersonalProfileEducation.value;
	employment = document.forms['registerFromWelcomePageForm'].SignUpPersonalProfileEmployment.value;
	webAdress = document.forms['registerFromWelcomePageForm'].SignUpPersonalProfileWebAdress.value;
	
	if(username == "" || password == "" || name == "" || surname == "" || dateOfBirth == "" || 
			sex == "" || city == "" || education == "" || employment == "" || webAdress == ""){
		alert("Please Type All Register Data!");
		return false;
	}else{
		return true;
	}
}

//-----------------------------------------------------------------------------------------------------------------------------------------------------
function tigarSurvey(){
	alert("Thank You For Your Time!");
}


